<%-- <%@ page import="com.teemo.core.util.DPUtil" %>
<%@ page import="com.teemo.core.Constants" %> --%>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<%   
String path = request.getContextPath();   
String staticPath = request.getScheme()+"://" +request.getServerName()+":" +request.getServerPort()+path+"/" ;   
request.setAttribute("staticPath", staticPath);
%> 


<%-- <%
    String staticPath = DPUtil.getDynamicProperty(Constants.DP_STATIC_PATH);
    staticPath = staticPath != null ? staticPath : request.getContextPath();
    request.setAttribute("staticPath", staticPath);
%> --%>
<c:set var="staticPath" value="${staticPath}"/>